package com.dengqi.mymodule;

import android.os.Bundle;

import com.dengqi.mymodule.tools.AppManager;

import androidx.appcompat.app.AppCompatActivity;

public class BaseActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AppManager.addActivity(this);
    }


    @Override
    protected void onDestroy() {
        AppManager.finishCurrentActivity();
        super.onDestroy();
    }
}
